<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Token.js Test</title>
<style type="text/css">
	.asdr {
	  color: red;
	}
	.assdr {
	  border-style: solid;
	  border-color: black;
	  border-width: 1px;
	}
</style>
</head>
<body>
<div id="div0"></div>
<div id="div1" class="asdr">ASDRGKCN</div>
<div id="div2"></div>
<script type="text/javascript" src="xJS/base/xJS.js"></script>
<script type="text/javascript" src="xJS/base/DOMReader.js"></script>
<script type="text/javascript" src="xJS/base/Token.js"></script>

<script type="text/javascript">

	var div1 = new xJS.Token('div1');
<!--	var obj2 = {elt: null, id: null};-->
	

<!--	alert(div1.id);-->
<!--	alert(div1.elt.innerHTML);-->
<!--	alert(xJS.getId(div1));-->
<!---->
<!--	alert(xJS.getId(obj2));-->
<!--	alert(xJS.getId(obj2));-->
<!--	alert(div1.hasClass("asdr"));-->
<!--    div1.addClass("assdr");-->
<!--    div1.getStyle("color");-->
<!--    div1.removeClass("assdr");-->
<!--    div1.replaceClass("asdr","assdr");-->
<!--	div1.setStyle("color","Red");-->

<!--	var div2 = xJS.token('div1'),-->
<!--	    div3 = xJS.token(document.getElementById('div1')),-->
<!--	    div4 = xJS.token(div1),-->
<!--	    div5 = xJS.token('asdrs');-->
<!--    -->
<!--	alert(div1 === div2);-->
<!--	alert(div1 === div3);-->
<!--	alert(div1 === div4);-->
<!--	alert(div1 === div5);-->

<!--alert(navigator.userAgent);-->
<!--alert(xJS.isIE);-->
<!--div1.setStyle("background","Blue");-->
<!--div1.setOpacity(0.41);-->
<!--alert(div1.getOpacity());-->

<!--alert(div1.elt.currentStyle && div1.elt.currentStyle.hasLayout);-->
<!--alert(div1.getStyle("opacity"));-->

<!--alert(xJS.getWindowPosition());-->
<!--alert(xJS.getWindowSize());-->
<!--var  qs = xJS.getQueryString();-->
<!--var qs2 = xJS.getQueryString();-->
<!--var qs3 = xJS.getQueryString(true);-->
<!--alert(qs == qs2);-->
<!--alert(qs == qs3);-->

<!--window.resizeTo(screen.availWidth, screen.availHeight);-->
<!--alert(navigator.userAgent);-->

var DR = xJS.DOMReader;
var elt = document.getElementById("div1");
var c = elt.childNodes;
var s = DR.getSiblings(elt);
alert("asdr");

</script>

</body>
</html>